TOOLCHAIN = i586-elf-

CC = $(TOOLCHAIN)gcc
LD = $(TOOLCHAIN)ld
AS = $(TOOLCHAIN)as
OBJCOPY = $(TOOLCHAIN)objcopy
OBJDUMP = $(TOOLCHAIN)objdump

OBJS = pci.o 

all: $(OBJS)

.c.o:
	$(CC) -I../include -O -nostdlib -ffreestanding -c -o $*.o $<

.S.o:
	$(AS) -o $*.o $<

clean:
	rm *.o
